Component({
    externalClasses: [ "wux-class" ],
    relations: {
        "../radio-group/index": {
            type: "parent"
        }
    },
    properties: {
        thumb: {
            type: String,
            value: ""
        },
        title: {
            type: String,
            value: ""
        },
        label: {
            type: String,
            value: ""
        },
        colors: {
            type: String,
            value: ""
        },
        value: {
            type: String,
            value: ""
        },
        checked: {
            type: Boolean,
            value: !1
        },
        disabled: {
            type: Boolean,
            value: !1
        },
        color: {
            type: String,
            value: "#09BB07"
        }
    },
    methods: {
        radioChange: function() {
            var e = this.data, t = e.value, a = e.checked, i = e.disabled, l = this.getRelationNodes("../radio-group/index")[0], n = {
                checked: !a,
                value: t
            };
            if (i) return !1;
            l ? l.emitEvent(n) : this.triggerEvent("change", n);
        },
        changeValue: function(e) {
            this.setData({
                checked: e
            });
        }
    }
});